|
CATIA V5 Programmierung : CAD Daten auslesen...
Bolle am 01.04.2003 um 10:39 Uhr (0)
Hallo Sebastian, wenn ich dich richtig verstanden habe, dann willst du doch bloss ein paar Daten aus CATIA abgreifen. Wenn dir(oder deinen Dozenten) VBScript zu primitiv ist, dann nehm doch VB oder VBA. Das bringt dir mehr Flexibilität im handling (GUI)- Die Objekte, die CATIA offenlegt, sind aber die gleichen, die du auch mit VBScript benutzt. Die C++ API und die Entwicklungsumgebung sind lizensiert und kosten teuer Geld. Du kannst dann zwar eigene COM-Interfaces erstellen, die Automation Schnittstelle e ...
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Wechsel zwischen Drawing und Part
Bolle am 15.07.2003 um 13:48 Uhr (0)
Hallo, bei product.activate bekomme ich eine Fehlermeldung(Das Objekt unterstützt diese Methode oder Eigenschaft nicht). Ich habe es mal so versucht: Set pad1 = part1.FindObjectByName( Pad.1 ) part1.Activate(pad1) part1.Update Das Script läuft zwar durch, aber CATIA wechselt nicht zum Part
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Wechsel zwischen Drawing und Part
Bolle am 21.07.2003 um 09:11 Uhr (0)
Ja, so klappt es: Dim WinCol As Windows Set WinCol = CATIA.Windows Dim ThisWindow As Window Set ThisWindow = WinCol.Item(1) ThisWindow.activate Danke für den Tip ! Gruß Bolle
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Koordinaten (x, y, z) von einem HybridShapePointOnCurve
Bolle am 23.11.2004 um 10:07 Uhr (0)
Hallo Hugo, ich habe das über eine Selection gemacht. Das sieht in etwa so aus: ... Set MyPoint = MyPart.FindObjectByName( Point.1 ) - Get point coordinates Set MySel = CATIA.ActiveDocument.Selection MySel.Clear MySel.Add MyPoint Set MySelElement = MySel.Item(1) MySelElement.Value.GetCoordinates MyPointCoord Coord_X = MyPointCoord(0) Coord_Y = MyPointCoord(1) Coord_Z = MyPointCoord(2) oSel.Clear ...
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Methode GetCoordinates
Bolle am 23.11.2004 um 10:05 Uhr (0)
Ich habe das über eine Selection gemacht. Das sieht in etwa so aus: ... Set MyPoint = MyPart.FindObjectByName("Point.1") - Get point coordinates Set MySel = CATIA.ActiveDocument.Selection MySel.Clear MySel.Add MyPoint Set MySelElement = MySel.Item(1) MySelElement.Value.GetCoordinates MyPointCoord Coord_X = MyPointCoord(0) Coord_Y = MyPointCoord(1) Coord_Z = MyPointCoord(2) oSel.Clear ... Gruß Bolle
|
In das Form CATIA V5 Programmierung wechseln |